//
//  LeftTableViewCell.m
//  PCDemo
//
//  Created by Mac on 16/7/14.
//  Copyright © 2016年 FanShuHan. All rights reserved.
//

#import "LeftTableViewCell.h"
#import "LeftItem.h"

@interface LeftTableViewCell ()

@property (weak, nonatomic) IBOutlet UIImageView *icon;

@property (weak, nonatomic) IBOutlet UILabel *name;

@end

@implementation LeftTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
}

- (void)setItem:(LeftItem *)item{
    _item = item;
    _icon.image = [UIImage imageNamed:item.icon];
    _name.text = item.name;
}

//- (void)setFrame:(CGRect)frame {
//      NSLog(@"%@",NSStringFromCGRect(frame));
//    [super setFrame:frame];
//}

@end
